projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86764ae
)
box: Use an element name
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 19 Nov 2015 12:07:26 +0000
(07:07 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 19 Nov 2015 12:07:26 +0000
(07:07 -0500)
gtk/gtkbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbox.c
b/gtk/gtkbox.c
index ab0ce031f61f1c54f858ccfc9a66324dc184727e..945f928fa5d9cfd0d37772ef643345a089c221f9 100644
(file)
--- a/
gtk/gtkbox.c
+++ b/
gtk/gtkbox.c
@@
-71,6
+71,10
@@
*
* Note that a single-row or single-column #GtkGrid provides exactly
* the same functionality as #GtkBox.
+ *
+ * # CSS names
+ *
+ * GtkBox uses a single CSS node with name box.
*/
#include "config.h"
@@
-343,6
+347,7
@@
gtk_box_class_init (GtkBoxClass *class)
gtk_container_class_install_child_properties (container_class, LAST_CHILD_PROP, child_props);
gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_FILLER);
+ gtk_widget_class_set_css_name (widget_class, "box");
}
static void